<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Priithon.viewerCommon.GLViewerCommon</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="Priithon-module.html">Package&nbsp;Priithon</a> ::
        <a href="Priithon.viewerCommon-module.html">Module&nbsp;viewerCommon</a> ::
        Class&nbsp;GLViewerCommon
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="Priithon.viewerCommon.GLViewerCommon-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class GLViewerCommon</h1><p class="nomargin-top"><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_priithon_86" name="uml_class_diagram_for_priithon_86">
<area shape="rect" id="node404" href="javascript:void(0);" title="The membership flag" alt="" coords="159,1105,323,1124"/>
<area shape="rect" id="node404" href="javascript:void(0);" title="See `GetContext`" alt="" coords="159,1124,323,1143"/>
<area shape="rect" id="node404" href="javascript:void(0);" title="repr(x)" alt="" coords="159,1145,323,1164"/>
<area shape="rect" id="node404" href="javascript:void(0);" title="SetCurrent(self, GLContext RC)" alt="" coords="159,1164,323,1183"/>
<area shape="rect" id="node404" href="javascript:void(0);" title="SetColour(self, String colour)" alt="" coords="159,1183,323,1201"/>
<area shape="rect" id="node404" href="javascript:void(0);" title="wx.glcanvas.GLCanvas.SwapBuffers" alt="" coords="159,1201,323,1220"/>
<area shape="rect" id="node404" href="javascript:void(0);" title="wx.glcanvas.GLCanvas.GetContext" alt="" coords="159,1220,323,1239"/>
<area shape="rect" id="node1" href="javascript:void(0);" title="Proxy of C++ GLCanvas class" alt="" coords="147,1081,333,1245"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#m_zoomChanged" title="warp=False..." alt="" coords="17,1289,465,1308"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#OnAspectRatio" title="Priithon.viewerCommon.GLViewerCommon.OnAspectRatio" alt="" coords="17,1311,465,1329"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#OnAssign" title="Priithon.viewerCommon.GLViewerCommon.OnAssign" alt="" coords="17,1329,465,1348"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#OnCenter" title="Priithon.viewerCommon.GLViewerCommon.OnCenter" alt="" coords="17,1348,465,1367"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#OnChgNoGfx" title="Priithon.viewerCommon.GLViewerCommon.OnChgNoGfx" alt="" coords="17,1367,465,1385"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#OnChgOrig" title="Priithon.viewerCommon.GLViewerCommon.OnChgOrig" alt="" coords="17,1385,465,1404"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#OnEraseBackground" title="Priithon.viewerCommon.GLViewerCommon.OnEraseBackground" alt="" coords="17,1404,465,1423"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#OnMenu" title="Priithon.viewerCommon.GLViewerCommon.OnMenu" alt="" coords="17,1423,465,1441"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#OnMouse" title="Priithon.viewerCommon.GLViewerCommon.OnMouse" alt="" coords="17,1441,465,1460"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#OnNoGfx" title="Priithon.viewerCommon.GLViewerCommon.OnNoGfx" alt="" coords="17,1460,465,1479"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#OnRotate" title="Priithon.viewerCommon.GLViewerCommon.OnRotate" alt="" coords="17,1479,465,1497"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#OnSave" title="Priithon.viewerCommon.GLViewerCommon.OnSave" alt="" coords="17,1497,465,1516"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#OnSaveClipboard" title="Priithon.viewerCommon.GLViewerCommon.OnSaveClipboard" alt="" coords="17,1516,465,1535"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#OnSaveScreenShort" title="always flipY" alt="" coords="17,1535,465,1553"/>
<area shape="rect" id="node403" href="Priithon.viewerCommon.GLViewerCommon-class.html#zoom" title="set new zoom factor to zoomfactor if absolute is False &#160;&#160;&#160;adjust current zoom factor to &#160;&#160;&#160;&#160;&#160;&#160;&quot;current&quot;*zoomfactor if zoomfactor is None: &#160;&#160;&#160;&#160;zoomfactor stays unchanged" alt="" coords="17,1572,465,1591"/>
<area shape="rect" id="node4" href="Priithon.viewerCommon.GLViewerCommon-class.html" title="Priithon.viewerCommon.GLViewerCommon" alt="" coords="5,1265,477,1597"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="See `GetEvtHandlerEnabled` and `SetEvtHandlerEnabled`" alt="" coords="55,140,428,159"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="See `GetNextHandler` and `SetNextHandler`" alt="" coords="55,159,428,177"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="See `GetPreviousHandler` and `SetPreviousHandler`" alt="" coords="55,177,428,196"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="wx._core.EvtHandler.GetNextHandler" alt="" coords="55,199,428,217"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="wx._core.EvtHandler.GetPreviousHandler" alt="" coords="55,217,428,236"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="SetNextHandler(self, EvtHandler handler)" alt="" coords="55,236,428,255"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="SetPreviousHandler(self, EvtHandler handler)" alt="" coords="55,255,428,273"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="wx._core.EvtHandler.GetEvtHandlerEnabled" alt="" coords="55,273,428,292"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="SetEvtHandlerEnabled(self, bool enabled)" alt="" coords="55,292,428,311"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="ProcessEvent(self, Event event) &#45;&gt; bool" alt="" coords="55,311,428,329"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="AddPendingEvent(self, Event event)" alt="" coords="55,329,428,348"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="wx._core.EvtHandler.ProcessPendingEvents" alt="" coords="55,348,428,367"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="Connect(self, int id, int lastId, int eventType, PyObject func)" alt="" coords="55,367,428,385"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="Disconnect(self, int id, int lastId=&#45;1, EventType eventType=wxEVT_NULL, ..." alt="" coords="55,385,428,404"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="Bind an event to an event handler." alt="" coords="55,404,428,423"/>
<area shape="rect" id="node406" href="javascript:void(0);" title="Disconnects the event handler binding for event from self." alt="" coords="55,423,428,441"/>
<area shape="rect" id="node2" href="javascript:void(0);" title="Proxy of C++ EvtHandler class" alt="" coords="43,115,440,447"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="See `GetAcceleratorTable` and `SetAcceleratorTable`" alt="" coords="115,492,367,511"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="See `GetAutoLayout` and `SetAutoLayout`" alt="" coords="115,511,367,529"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="See `GetBackgroundColour` and `SetBackgroundColour`" alt="" coords="115,529,367,548"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="See `GetBackgroundStyle` and `SetBackgroundStyle`" alt="" coords="115,548,367,567"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="See `GetBestSize`" alt="" coords="115,567,367,585"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="See `GetBestVirtualSize`" alt="" coords="115,585,367,604"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="See `GetBorder`" alt="" coords="115,604,367,623"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="See `GetCaret` and `SetCaret`" alt="" coords="115,623,367,641"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="See `GetCharHeight`" alt="" coords="115,641,367,660"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="See `GetCharWidth`" alt="" coords="115,660,367,679"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="See `GetChildren`" alt="" coords="115,679,367,697"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="See `GetClientAreaOrigin`" alt="" coords="115,697,367,716"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="See `GetClientRect` and `SetClientRect`" alt="" coords="115,716,367,735"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="See `GetWindowVariant` and `SetWindowVariant`" alt="" coords="115,753,367,772"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="Can this window have focus?" alt="" coords="115,775,367,793"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="Can this window be given focus by keyboard navigation? if not, the only way to give it focus (provided it accepts it at all) is to click it." alt="" coords="115,793,367,812"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="AddChild(self, Window child)" alt="" coords="115,812,367,831"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="AdjustForLayoutDirection(self, int x, int width, int widthTotal) &#45;&gt; int" alt="" coords="115,831,367,849"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="AssociateHandle(self, long handle)" alt="" coords="115,849,367,868"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="CacheBestSize(self, Size size)" alt="" coords="115,868,367,887"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="Returns ``True`` if the platform supports setting the transparency for this window." alt="" coords="115,887,367,905"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="Directs all mouse input to this window." alt="" coords="115,905,367,924"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="Center(self, int direction=BOTH)" alt="" coords="115,924,367,943"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="CenterOnParent(self, int dir=BOTH)" alt="" coords="115,943,367,961"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="Center(self, int direction=BOTH)" alt="" coords="115,961,367,980"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="CenterOnParent(self, int dir=BOTH)" alt="" coords="115,980,367,999"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="Clears the window by filling it with the current background colour." alt="" coords="115,999,367,1017"/>
<area shape="rect" id="node405" href="javascript:void(0);" title="WindowToClientSize(self, Size size) &#45;&gt; Size" alt="" coords="115,1036,367,1055"/>
<area shape="rect" id="node3" href="javascript:void(0);" title="wx.Window is the base class for all windows and represents any visible object on the screen." alt="" coords="103,467,377,1061"/>
<area shape="rect" id="node5" href="Priithon.viewer.GLViewer-class.html" title="Priithon.viewer.GLViewer" alt="" coords="88,1617,224,1655"/>
<area shape="rect" id="node7" href="Priithon.viewer2.GLViewer2-class.html" title="Priithon.viewer2.GLViewer2" alt="" coords="253,1617,403,1655"/>
<area shape="rect" id="node407" href="javascript:void(0);" title="See `GetClassName`" alt="" coords="157,31,324,49"/>
<area shape="rect" id="node407" href="javascript:void(0);" title="Returns the class name of the C++ class using wxRTTI." alt="" coords="157,52,324,71"/>
<area shape="rect" id="node407" href="javascript:void(0);" title="IsSameAs(self, Object p) &#45;&gt; bool" alt="" coords="157,71,324,89"/>
<area shape="rect" id="node6" href="javascript:void(0);" title="The base class for most wx objects, although in wxPython not much functionality is needed nor exposed." alt="" coords="145,6,335,95"/>
</map>
  <img src="uml_class_diagram_for_priithon_86.gif" alt='' usemap="#uml_class_diagram_for_priithon_86" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnAspectRatio"></a><span class="summary-sig-name">OnAspectRatio</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">evt</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnAspectRatio">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnAssign"></a><span class="summary-sig-name">OnAssign</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>=<span class="summary-sig-default">None</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnAssign">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnCenter"></a><span class="summary-sig-name">OnCenter</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>=<span class="summary-sig-default">None</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnCenter">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnChgNoGfx"></a><span class="summary-sig-name">OnChgNoGfx</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnChgNoGfx">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnChgOrig"></a><span class="summary-sig-name">OnChgOrig</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>=<span class="summary-sig-default">None</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnChgOrig">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnEraseBackground"></a><span class="summary-sig-name">OnEraseBackground</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">ev</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnEraseBackground">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnMenu"></a><span class="summary-sig-name">OnMenu</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnMenu">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnMouse"></a><span class="summary-sig-name">OnMouse</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">ev</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnMouse">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnNoGfx"></a><span class="summary-sig-name">OnNoGfx</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">evt</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnNoGfx">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnRotate"></a><span class="summary-sig-name">OnRotate</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">evt</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnRotate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnSave"></a><span class="summary-sig-name">OnSave</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>=<span class="summary-sig-default">None</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnSave">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnSaveClipboard"></a><span class="summary-sig-name">OnSaveClipboard</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>=<span class="summary-sig-default">None</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnSaveClipboard">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnSaveScreenShort"></a><span class="summary-sig-name">OnSaveScreenShort</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>=<span class="summary-sig-default">None</span>)</span><br />
      always flipY</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnSaveScreenShort">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnSize"></a><span class="summary-sig-name">OnSize</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnSize">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnWheel_zoom"></a><span class="summary-sig-name">OnWheel_zoom</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">evt</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnWheel_zoom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnZoomIn"></a><span class="summary-sig-name">OnZoomIn</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>=<span class="summary-sig-default">77777</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnZoomIn">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="OnZoomOut"></a><span class="summary-sig-name">OnZoomOut</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">event</span>=<span class="summary-sig-default">77777</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.OnZoomOut">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">EvtHandler</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon.GLViewerCommon-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">parent</span>,
        <span class="summary-sig-arg">size</span>=<span class="summary-sig-default">wx.Size(-1, -1)</span>,
        <span class="summary-sig-arg">originLeftBottom</span>=<span class="summary-sig-default">None</span>)</span><br />
      __init__(self, Window parent, int id=-1, Point pos=DefaultPosition, ...</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="center"></a><span class="summary-sig-name">center</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">refreshNow</span>=<span class="summary-sig-default">True</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.center">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="doReset"></a><span class="summary-sig-name">doReset</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">ev</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">refreshNow</span>=<span class="summary-sig-default">True</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.doReset">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon.GLViewerCommon-class.html#doShift" class="summary-sig-name">doShift</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">dx</span>,
        <span class="summary-sig-arg">dy</span>)</span><br />
      shift view offset by dx,dy pixels...</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.doShift">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="drawPixelGrid"></a><span class="summary-sig-name">drawPixelGrid</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">spacingY</span>,
        <span class="summary-sig-arg">spacingX</span>,
        <span class="summary-sig-arg">color</span>=<span class="summary-sig-default"><code class="variable-group">(</code>1<code class="variable-op">, </code>0<code class="variable-op">, </code>0<code class="variable-group">)</code></span>,
        <span class="summary-sig-arg">width</span>=<span class="summary-sig-default">1</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.drawPixelGrid">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="flipY"></a><span class="summary-sig-name">flipY</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">refreshNow</span>=<span class="summary-sig-default">True</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.flipY">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="newGLListAbort"></a><span class="summary-sig-name">newGLListAbort</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.newGLListAbort">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="newGLListDone"></a><span class="summary-sig-name">newGLListDone</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">enable</span>=<span class="summary-sig-default">True</span>,
        <span class="summary-sig-arg">refreshNow</span>=<span class="summary-sig-default">True</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.newGLListDone">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="newGLListEnable"></a><span class="summary-sig-name">newGLListEnable</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">idx</span>,
        <span class="summary-sig-arg">on</span>=<span class="summary-sig-default">True</span>,
        <span class="summary-sig-arg">refreshNow</span>=<span class="summary-sig-default">True</span>)</span><br />
      ignore moreGlList items that are None !</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.newGLListEnable">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="newGLListEnableByName"></a><span class="summary-sig-name">newGLListEnableByName</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>,
        <span class="summary-sig-arg">on</span>=<span class="summary-sig-default">True</span>,
        <span class="summary-sig-arg">skipBlacklisted</span>=<span class="summary-sig-default">False</span>,
        <span class="summary-sig-arg">refreshNow</span>=<span class="summary-sig-default">True</span>)</span><br />
      &quot;turn on/off&quot; all gfx whose idx is in name-dict if 
      skipBlacklisted: IGNORE idx if contained in moreGlLists_nameBlacklist
      ignore moreGlList items that are None !</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.newGLListEnableByName">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="newGLListNameAdd"></a><span class="summary-sig-name">newGLListNameAdd</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">idx</span>,
        <span class="summary-sig-arg">name</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.newGLListNameAdd">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="newGLListNameRemove"></a><span class="summary-sig-name">newGLListNameRemove</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">idx</span>,
        <span class="summary-sig-arg">name</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.newGLListNameRemove">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon.GLViewerCommon-class.html#newGLListNow" class="summary-sig-name">newGLListNow</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">idx</span>=<span class="summary-sig-default">None</span>)</span><br />
      call this immediately before you call a bunch of gl-calls
issue newGLListDone() when done
OR newGLListAbort() when there is problem and
    the glist should get cleared</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.newGLListNow">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon.GLViewerCommon-class.html#newGLListRemove" class="summary-sig-name">newGLListRemove</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">idx</span>,
        <span class="summary-sig-arg">refreshNow</span>=<span class="summary-sig-default">True</span>)</span><br />
      instead of 'del' just set entry to None this is to prevent, shifting 
      of all higher idx 20090107: but do 'del' for last entry - no trailing
      Nones</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.newGLListRemove">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="newGLListRemoveAll"></a><span class="summary-sig-name">newGLListRemoveAll</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">refreshNow</span>=<span class="summary-sig-default">True</span>)</span><br />
      this really removes all GLList stuff idx values will restart at 0 
      here nothing gets &quot;only&quot; set to None</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.newGLListRemoveAll">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="newGLListRemoveByName"></a><span class="summary-sig-name">newGLListRemoveByName</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">name</span>,
        <span class="summary-sig-arg">refreshNow</span>=<span class="summary-sig-default">True</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.newGLListRemoveByName">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="quaterShiftOffsetDown"></a><span class="summary-sig-name">quaterShiftOffsetDown</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.quaterShiftOffsetDown">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="quaterShiftOffsetLeft"></a><span class="summary-sig-name">quaterShiftOffsetLeft</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.quaterShiftOffsetLeft">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="quaterShiftOffsetRight"></a><span class="summary-sig-name">quaterShiftOffsetRight</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.quaterShiftOffsetRight">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="quaterShiftOffsetUp"></a><span class="summary-sig-name">quaterShiftOffsetUp</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.quaterShiftOffsetUp">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon.GLViewerCommon-class.html#readGLviewport" class="summary-sig-name">readGLviewport</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">clip</span>=<span class="summary-sig-default">False</span>,
        <span class="summary-sig-arg">flipY</span>=<span class="summary-sig-default">True</span>,
        <span class="summary-sig-arg">copy</span>=<span class="summary-sig-default">True</span>)</span><br />
      returns array with r,g,b values from &quot;what-you-see&quot; 
      shape(3, height, width) type=UInt8</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.readGLviewport">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setAspectRatio"></a><span class="summary-sig-name">setAspectRatio</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">y_over_x</span>,
        <span class="summary-sig-arg">refreshNow</span>=<span class="summary-sig-default">1</span>)</span><br />
      strech images in y direction use negative value to mirror</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.setAspectRatio">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setOriginLeftBottom"></a><span class="summary-sig-name">setOriginLeftBottom</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">olb</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.setOriginLeftBottom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setPixelGrid"></a><span class="summary-sig-name">setPixelGrid</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">ev</span>=<span class="summary-sig-default">None</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.setPixelGrid">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="setRotation"></a><span class="summary-sig-name">setRotation</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">angle</span>=<span class="summary-sig-default">90</span>,
        <span class="summary-sig-arg">refreshNow</span>=<span class="summary-sig-default">1</span>)</span><br />
      rotate everything by angle in degrees</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.setRotation">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="Priithon.viewerCommon.GLViewerCommon-class.html#zoom" class="summary-sig-name">zoom</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">zoomfactor</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">cyx</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">absolute</span>=<span class="summary-sig-default">True</span>,
        <span class="summary-sig-arg">refreshNow</span>=<span class="summary-sig-default">True</span>)</span><br />
      set new zoom factor to zoomfactor
if absolute is False
   adjust current zoom factor to
      &quot;current&quot;*zoomfactor
if zoomfactor is None:
    zoomfactor stays unchanged</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.zoom">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx.glcanvas.GLCanvas</code></b>:
      <code>GetContext</code>,
      <code>SetColour</code>,
      <code>SetCurrent</code>,
      <code>SwapBuffers</code>,
      <code>__repr__</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.Window</code></b>:
      <code>AcceptsFocus</code>,
      <code>AcceptsFocusFromKeyboard</code>,
      <code>AddChild</code>,
      <code>AdjustForLayoutDirection</code>,
      <code>AssociateHandle</code>,
      <code>CacheBestSize</code>,
      <code>CanSetTransparent</code>,
      <code>CaptureMouse</code>,
      <code>Center</code>,
      <code>CenterOnParent</code>,
      <code>Centre</code>,
      <code>CentreOnParent</code>,
      <code>ClearBackground</code>,
      <code>ClientToScreen</code>,
      <code>ClientToScreenXY</code>,
      <code>ClientToWindowSize</code>,
      <code>Close</code>,
      <code>ConvertDialogPointToPixels</code>,
      <code>ConvertDialogSizeToPixels</code>,
      <code>ConvertPixelPointToDialog</code>,
      <code>ConvertPixelSizeToDialog</code>,
      <code>Create</code>,
      <code>DLG_PNT</code>,
      <code>DLG_SZE</code>,
      <code>Destroy</code>,
      <code>DestroyChildren</code>,
      <code>Disable</code>,
      <code>DissociateHandle</code>,
      <code>DragAcceptFiles</code>,
      <code>Enable</code>,
      <code>FindWindowById</code>,
      <code>FindWindowByLabel</code>,
      <code>FindWindowByName</code>,
      <code>Fit</code>,
      <code>FitInside</code>,
      <code>Freeze</code>,
      <code>GetAcceleratorTable</code>,
      <code>GetAdjustedBestSize</code>,
      <code>GetAutoLayout</code>,
      <code>GetBackgroundColour</code>,
      <code>GetBackgroundStyle</code>,
      <code>GetBestFittingSize</code>,
      <code>GetBestSize</code>,
      <code>GetBestSizeTuple</code>,
      <code>GetBestVirtualSize</code>,
      <code>GetBorder</code>,
      <code>GetCaret</code>,
      <code>GetCharHeight</code>,
      <code>GetCharWidth</code>,
      <code>GetChildren</code>,
      <code>GetClientAreaOrigin</code>,
      <code>GetClientRect</code>,
      <code>GetClientSize</code>,
      <code>GetClientSizeTuple</code>,
      <code>GetConstraints</code>,
      <code>GetContainingSizer</code>,
      <code>GetCursor</code>,
      <code>GetDefaultAttributes</code>,
      <code>GetDropTarget</code>,
      <code>GetEffectiveMinSize</code>,
      <code>GetEventHandler</code>,
      <code>GetExtraStyle</code>,
      <code>GetFont</code>,
      <code>GetForegroundColour</code>,
      <code>GetFullTextExtent</code>,
      <code>GetGrandParent</code>,
      <code>GetGtkWidget</code>,
      <code>GetHandle</code>,
      <code>GetHelpText</code>,
      <code>GetHelpTextAtPoint</code>,
      <code>GetId</code>,
      <code>GetLabel</code>,
      <code>GetLayoutDirection</code>,
      <code>GetMaxHeight</code>,
      <code>GetMaxSize</code>,
      <code>GetMaxWidth</code>,
      <code>GetMinHeight</code>,
      <code>GetMinSize</code>,
      <code>GetMinWidth</code>,
      <code>GetName</code>,
      <code>GetParent</code>,
      <code>GetPosition</code>,
      <code>GetPositionTuple</code>,
      <code>GetRect</code>,
      <code>GetScreenPosition</code>,
      <code>GetScreenPositionTuple</code>,
      <code>GetScreenRect</code>,
      <code>GetScrollPos</code>,
      <code>GetScrollRange</code>,
      <code>GetScrollThumb</code>,
      <code>GetSize</code>,
      <code>GetSizeTuple</code>,
      <code>GetSizer</code>,
      <code>GetTextExtent</code>,
      <code>GetThemeEnabled</code>,
      <code>GetToolTip</code>,
      <code>GetTopLevelParent</code>,
      <code>GetUpdateClientRect</code>,
      <code>GetUpdateRegion</code>,
      <code>GetValidator</code>,
      <code>GetVirtualSize</code>,
      <code>GetVirtualSizeTuple</code>,
      <code>GetWindowBorderSize</code>,
      <code>GetWindowStyle</code>,
      <code>GetWindowStyleFlag</code>,
      <code>GetWindowVariant</code>,
      <code>HasCapture</code>,
      <code>HasFlag</code>,
      <code>HasMultiplePages</code>,
      <code>HasScrollbar</code>,
      <code>HasTransparentBackground</code>,
      <code>Hide</code>,
      <code>HitTest</code>,
      <code>HitTestXY</code>,
      <code>InheritAttributes</code>,
      <code>InheritsBackgroundColour</code>,
      <code>InitDialog</code>,
      <code>InvalidateBestSize</code>,
      <code>IsBeingDeleted</code>,
      <code>IsDoubleBuffered</code>,
      <code>IsEnabled</code>,
      <code>IsExposed</code>,
      <code>IsExposedPoint</code>,
      <code>IsExposedRect</code>,
      <code>IsFrozen</code>,
      <code>IsRetained</code>,
      <code>IsShown</code>,
      <code>IsShownOnScreen</code>,
      <code>IsTopLevel</code>,
      <code>Layout</code>,
      <code>LineDown</code>,
      <code>LineUp</code>,
      <code>Lower</code>,
      <code>MakeModal</code>,
      <code>Move</code>,
      <code>MoveAfterInTabOrder</code>,
      <code>MoveBeforeInTabOrder</code>,
      <code>MoveXY</code>,
      <code>Navigate</code>,
      <code>PageDown</code>,
      <code>PageUp</code>,
      <code>PopEventHandler</code>,
      <code>PopupMenu</code>,
      <code>PopupMenuXY</code>,
      <code>PostCreate</code>,
      <code>PrepareDC</code>,
      <code>PushEventHandler</code>,
      <code>Raise</code>,
      <code>Refresh</code>,
      <code>RefreshRect</code>,
      <code>RegisterHotKey</code>,
      <code>ReleaseMouse</code>,
      <code>RemoveChild</code>,
      <code>RemoveEventHandler</code>,
      <code>Reparent</code>,
      <code>ScreenToClient</code>,
      <code>ScreenToClientXY</code>,
      <code>ScrollLines</code>,
      <code>ScrollPages</code>,
      <code>ScrollWindow</code>,
      <code>SendSizeEvent</code>,
      <code>SetAcceleratorTable</code>,
      <code>SetAutoLayout</code>,
      <code>SetBackgroundColour</code>,
      <code>SetBackgroundStyle</code>,
      <code>SetBestFittingSize</code>,
      <code>SetCaret</code>,
      <code>SetClientRect</code>,
      <code>SetClientSize</code>,
      <code>SetClientSizeWH</code>,
      <code>SetConstraints</code>,
      <code>SetContainingSizer</code>,
      <code>SetCursor</code>,
      <code>SetDimensions</code>,
      <code>SetDoubleBuffered</code>,
      <code>SetDropTarget</code>,
      <code>SetEventHandler</code>,
      <code>SetExtraStyle</code>,
      <code>SetFocus</code>,
      <code>SetFocusFromKbd</code>,
      <code>SetFont</code>,
      <code>SetForegroundColour</code>,
      <code>SetHelpText</code>,
      <code>SetHelpTextForId</code>,
      <code>SetId</code>,
      <code>SetInitialSize</code>,
      <code>SetLabel</code>,
      <code>SetLayoutDirection</code>,
      <code>SetMaxSize</code>,
      <code>SetMinSize</code>,
      <code>SetName</code>,
      <code>SetOwnBackgroundColour</code>,
      <code>SetOwnFont</code>,
      <code>SetOwnForegroundColour</code>,
      <code>SetPosition</code>,
      <code>SetRect</code>,
      <code>SetScrollPos</code>,
      <code>SetScrollbar</code>,
      <code>SetSize</code>,
      <code>SetSizeHints</code>,
      <code>SetSizeHintsSz</code>,
      <code>SetSizeWH</code>,
      <code>SetSizer</code>,
      <code>SetSizerAndFit</code>,
      <code>SetThemeEnabled</code>,
      <code>SetToolTip</code>,
      <code>SetToolTipString</code>,
      <code>SetTransparent</code>,
      <code>SetValidator</code>,
      <code>SetVirtualSize</code>,
      <code>SetVirtualSizeHints</code>,
      <code>SetVirtualSizeHintsSz</code>,
      <code>SetVirtualSizeWH</code>,
      <code>SetWindowStyle</code>,
      <code>SetWindowStyleFlag</code>,
      <code>SetWindowVariant</code>,
      <code>ShouldInheritColours</code>,
      <code>Show</code>,
      <code>Thaw</code>,
      <code>ToggleWindowStyle</code>,
      <code>TransferDataFromWindow</code>,
      <code>TransferDataToWindow</code>,
      <code>UnregisterHotKey</code>,
      <code>Update</code>,
      <code>UpdateWindowUI</code>,
      <code>UseBgCol</code>,
      <code>Validate</code>,
      <code>WarpPointer</code>,
      <code>WindowToClientSize</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.EvtHandler</code></b>:
      <code>AddPendingEvent</code>,
      <code>Bind</code>,
      <code>Connect</code>,
      <code>Disconnect</code>,
      <code>GetEvtHandlerEnabled</code>,
      <code>GetNextHandler</code>,
      <code>GetPreviousHandler</code>,
      <code>ProcessEvent</code>,
      <code>ProcessPendingEvents</code>,
      <code>SetEvtHandlerEnabled</code>,
      <code>SetNextHandler</code>,
      <code>SetPreviousHandler</code>,
      <code>Unbind</code>
      </p>
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.EvtHandler</code></b> (private):
      <code>_setOORInfo</code>
      </p></div>
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.Object</code></b>:
      <code>GetClassName</code>,
      <code>IsSameAs</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__setattr__</code>,
      <code>__str__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== STATIC METHODS ==================== -->
<a name="section-StaticMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Static Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-StaticMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.Window</code></b>:
      <code>FindFocus</code>,
      <code>GetCapture</code>,
      <code>GetClassDefaultAttributes</code>,
      <code>NewControlId</code>,
      <code>NextControlId</code>,
      <code>PrevControlId</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== INSTANCE VARIABLES ==================== -->
<a name="section-InstanceVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="Priithon.viewerCommon.GLViewerCommon-class.html#m_zoomChanged" class="summary-name">m_zoomChanged</a><br />
      warp=False...
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx.glcanvas.GLCanvas</code></b>:
      <code>Context</code>,
      <code>thisown</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.Window</code></b>:
      <code>AcceleratorTable</code>,
      <code>AutoLayout</code>,
      <code>BackgroundColour</code>,
      <code>BackgroundStyle</code>,
      <code>BestSize</code>,
      <code>BestVirtualSize</code>,
      <code>Border</code>,
      <code>Caret</code>,
      <code>CharHeight</code>,
      <code>CharWidth</code>,
      <code>Children</code>,
      <code>ClientAreaOrigin</code>,
      <code>ClientRect</code>,
      <code>ClientSize</code>,
      <code>Constraints</code>,
      <code>ContainingSizer</code>,
      <code>Cursor</code>,
      <code>DefaultAttributes</code>,
      <code>DropTarget</code>,
      <code>EffectiveMinSize</code>,
      <code>Enabled</code>,
      <code>EventHandler</code>,
      <code>ExtraStyle</code>,
      <code>Font</code>,
      <code>ForegroundColour</code>,
      <code>GrandParent</code>,
      <code>GtkWidget</code>,
      <code>Handle</code>,
      <code>HelpText</code>,
      <code>Id</code>,
      <code>Label</code>,
      <code>LayoutDirection</code>,
      <code>MaxHeight</code>,
      <code>MaxSize</code>,
      <code>MaxWidth</code>,
      <code>MinHeight</code>,
      <code>MinSize</code>,
      <code>MinWidth</code>,
      <code>Name</code>,
      <code>Parent</code>,
      <code>Position</code>,
      <code>Rect</code>,
      <code>ScreenPosition</code>,
      <code>ScreenRect</code>,
      <code>Shown</code>,
      <code>Size</code>,
      <code>Sizer</code>,
      <code>ThemeEnabled</code>,
      <code>ToolTip</code>,
      <code>TopLevel</code>,
      <code>TopLevelParent</code>,
      <code>UpdateClientRect</code>,
      <code>UpdateRegion</code>,
      <code>Validator</code>,
      <code>VirtualSize</code>,
      <code>WindowStyle</code>,
      <code>WindowStyleFlag</code>,
      <code>WindowVariant</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.EvtHandler</code></b>:
      <code>EvtHandlerEnabled</code>,
      <code>NextHandler</code>,
      <code>PreviousHandler</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>wx._core.Object</code></b>:
      <code>ClassName</code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">parent</span>,
        <span class="sig-arg">size</span>=<span class="sig-default">wx.Size(-1, -1)</span>,
        <span class="sig-arg">originLeftBottom</span>=<span class="sig-default">None</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
    Size size=DefaultSize, long style=0, String name=GLCanvasNameStr, 
    int attribList=None, Palette palette=wxNullPalette) -&gt; GLCanvas

</pre>
  <dl class="fields">
    <dt>Returns: EvtHandler</dt>
    <dt>Overrides:
        object.__init__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="doShift"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">doShift</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">dx</span>,
        <span class="sig-arg">dy</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.doShift">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

shift view offset by dx,dy pixels
if dx or dy is a float, it is multiplied by the viewer's 
   width or height respectively
keepCentered is set to False

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="newGLListNow"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">newGLListNow</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">name</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">idx</span>=<span class="sig-default">None</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.newGLListNow">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

call this immediately before you call a bunch of gl-calls
issue newGLListDone() when done
OR newGLListAbort() when there is problem and
    the glist should get cleared

create new or append to dict entry 'name' when done
    if name is a list (! not tuple !) EACH list-items is used
    a tuple is interpreted as &quot;z-sect-tuple&quot; and means that this gllist 
        gets automacically en-/dis-abled with z-slider entering/leaving that section
        (see on splitNDcommon::OnZZSlider)
if idx is not None:  reuse and overwrite existing gllist
if idx is of type str: on first use, same as None; but on subsequent uses, reuse and overwrite 

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="newGLListRemove"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">newGLListRemove</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">idx</span>,
        <span class="sig-arg">refreshNow</span>=<span class="sig-default">True</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.newGLListRemove">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>instead of 'del' just set entry to None this is to prevent, shifting 
  of all higher idx 20090107: but do 'del' for last entry - no trailing 
  Nones</p>
  <p>self.m_moreGlLists_dict is cleaned properly</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="readGLviewport"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">readGLviewport</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">clip</span>=<span class="sig-default">False</span>,
        <span class="sig-arg">flipY</span>=<span class="sig-default">True</span>,
        <span class="sig-arg">copy</span>=<span class="sig-default">True</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.readGLviewport">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>returns array with r,g,b values from &quot;what-you-see&quot; shape(3,
  height, width) type=UInt8</p>
  <p>if clip: clip out the &quot;green background&quot; if copy == 0 
  returns non-contiguous array!!!</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="zoom"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">zoom</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">zoomfactor</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">cyx</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">absolute</span>=<span class="sig-default">True</span>,
        <span class="sig-arg">refreshNow</span>=<span class="sig-default">True</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="Priithon.viewerCommon-pysrc.html#GLViewerCommon.zoom">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <pre class="literalblock">

set new zoom factor to zoomfactor
if absolute is False
   adjust current zoom factor to
      &quot;current&quot;*zoomfactor
if zoomfactor is None:
    zoomfactor stays unchanged

if cyx is None:
    image center stays center
otherwise, image will get &quot;re-centered&quot; to cyx beeing the new center

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== INSTANCE VARIABLE DETAILS ==================== -->
<a name="section-InstanceVariableDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Variable Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceVariableDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="m_zoomChanged"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">m_zoomChanged</h3>
  <pre class="literalblock">

warp=False
xMax,yMax = self.ScreenToClientXY(screen_max_x, screen_max_y)
x0,  y0   = self.ScreenToClientXY(0,0)
print x,y
if x&lt;=x0:
    x=xMax
    warp=True
elif x&gt;=xMax:
    x=x0
    warp=True
if y&lt;=y0:
    y=yMax
    warp=True
elif y&gt;=yMax:
    y=y0
    warp=True
if warp:
    print '---------------&gt;',x,y
    self.WarpPointer( x,y )

</pre>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="Priithon-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/priithon">Priithon</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Nov 22 14:59:46 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
